const OfferIndex = () => import(/* webpackChunkName: "Offer" */ '../views/same/OfferIndex.vue');
const Offer = () => import(/* webpackChunkName: "Offer" */ '../views/same/Offer.vue');
const AssetsIndex = () => import(/* webpackChunkName: "Assets" */ '../views/same/AssetsIndex.vue');
const Assets = () => import(/* webpackChunkName: "Assets" */ '../views/same/Assets.vue');
const FinanceIndex = () => import(/* webpackChunkName: "Finance" */ '../views/same/FinanceIndex.vue');
const Finance = () => import(/* webpackChunkName: "Finance" */ '../views/same/Finance.vue');
const FinanceDetail = () => import(/* webpackChunkName: "Finance" */ '../views/same/FinanceDetail.vue');
const FinanceCompany = () => import(/* webpackChunkName: "Finance" */ '../views/same/FinanceCompany.vue');
const FinanceCompanyDetail = () => import(/* webpackChunkName: "Finance" */ '../views/same/FinanceCompanyDetail.vue');
const OfferDetail = () => import(/* webpackChunkName: "Offer" */ '../views/same/OfferDetail.vue');
const AssetsDetail = () => import(/* webpackChunkName: "Assets" */ '../views/same/AssetsDetail.vue');
const Subscribe = () => import(/* webpackChunkName: "Assets" */ '../views/same/Subscribe.vue');

export default [
    {
        path: '/offerIndex',
        component: OfferIndex,
        children: [
            {
                path: '/',
                alias: '/same',
                name: `{ "left": "add", "content": "same-nav", "nav": 0, "right": "user"}`,
                component: Offer
            },
            {
                path: 'offer/:type',
                alias: '/same/offer/:type',
                name: `{ "left": "add", "content": "same-nav", "nav": 0, "right": "user" }`,
                component: Offer
            }
        ]
    },
    {
        path: '/assets',
        alias: '/same/assets',
        component: AssetsIndex,
        children: [
            {
                path: '/',
                alias: '/same/assets',
                name: `{ "left": "add", "content": "same-nav", "nav": 1, "right": "user"}`,
                component: Assets
            },
            {
                path: 'assets/:type',
                alias: '/same/assets/:type',
                name: `{ "left": "add", "content": "same-nav", "nav": 1, "right": "user" }`,
                component: Assets
            }
        ]
    },
    {
        path: '/finance',
        alias: '/same/finance',
        component: FinanceIndex,
        children: [
            {
                path: '/',
                alias: '/same/finance',
                name: `{ "left": "add", "content": "same-nav", "nav": 2, "right": "user"}`,
                component: Finance
            },
            {
                path: 'finance-company',
                alias: '/same/finance-company',
                name: `{ "left": "add", "content": "same-nav", "nav": 2, "right": "user" }`,
                component: FinanceCompany
            }
        ]
    },
    {
        path: '/offerDetail',
        alias: '/same/offerDetail',
        name: `{ "left": "back", "content": "报价征文", "right": "share" }`,
        component: OfferDetail
    },
    {
        path: '/assetsDetail',
        alias: '/same/assetsDetail',
        name: `{ "left": "back", "content": "大型民营主板上市公司短融", "right": "share" }`,
        component: AssetsDetail
    },
    {
        path: '/subscribe',
        alias: '/same/subscribe',
        name: `{ "left": "back", "content": "预约项目", "right": "share" }`,
        component: Subscribe
    },
    {
        path: '/financeDetail',
        alias: '/same/financeDetail',
        component: FinanceDetail
    },
    {
        path: '/financeCompanyDetail',
        alias: '/same/financeCompanyDetail',
        component: FinanceCompanyDetail
    }
]